package com.gitee.wsl.prism4j.ui


import androidx.annotation.ColorInt
import androidx.compose.ui.text.AnnotatedString
import com.gitee.wsl.prism4j.Prism4j


interface Prism4jTheme {
    @ColorInt
    fun background(): Long

    @ColorInt
    fun textColor(): Long

    fun apply(
        language: String,
        syntax: Prism4j.Syntax,
        builder: AnnotatedString.Builder,
        start: Int,
        end: Int
    )
}

